package cc.md888.app.domain.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统配置表
 * </p>
 *
 * @author maodou
 * @since 2025-09-24 09:00:34
 */
@Getter
@Setter
@TableName("`option`")
public class Option implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 配置id
     */
    private Long id;

    /**
     * 配置名称
     */
    private String name;

    /**
     * 配置键值
     */
    @TableField(value = "`key`")
    private String key;

    /**
     * 配置值
     */
    private String value;

    /**
     * 配置描述
     */
    private String description;

    /**
     * 记录更新时间
     */
    private LocalDateTime updateAt;

    /**
     * 记录创建时间
     */
    private LocalDateTime createAt;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String KEY = "key";

    public static final String VALUE = "value";

    public static final String DESCRIPTION = "description";

    public static final String UPDATE_AT = "update_at";

    public static final String CREATE_AT = "create_at";

}
